Paths for api corrected for saving queries without project
Merge pull request #1510 from opf/fix/saving-queries-in-project-independent-view