Issue Summary:
Build identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Window 7 64 Bit
Steps to Reproduce:
- Open a query with a single version i.e: https://pipeline-sql.stage.mozaws.net/queries/80/source
- Click on the options button and then on the Query Versions
Expected results:
a) The Query Versions link is not displayed or it is disabled as there are no other queries to which current one can be revert to.
b) The query Version is displayed and when opening the compare page the current version section is not empty.
Actual results:
When opening the compare query page the current version section is empty.
Notes/Issues:
Verified in FF54(Win7). Issue can be reproduced only in STMO stage
Screenshot for this issue:

Issue Summary:
Build identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Window 7 64 Bit
Steps to Reproduce:
Expected results:
a) The Query Versions link is not displayed or it is disabled as there are no other queries to which current one can be revert to.
b) The query Version is displayed and when opening the compare page the current version section is not empty.
Actual results:
When opening the compare query page the current version section is empty.
Notes/Issues:
Verified in FF54(Win7). Issue can be reproduced only in STMO stage

Screenshot for this issue: