Step 1
Go to file>Options>Current Database
Select Navigation Options
Tick the box Show Hidden Objects
Click OK
and again
Step 2
You should now see all hidden objects, find your query, right click on it and select properties, then untick the hidden box
Step 3
Repeat step 1 but this time untick Show Hidden Objects