Fix instance project templates no longer working

Merged Stan Hu requested to merge sh-fix-instance-templates-not-working into master

The introduction of group project templates in caused instance project templates to stop working. The frontend submits an empty group_with_project_templates_id parameter, which is interpreted as an actual value to search. We fix this by ignoring blank parameters.