Hide select box when sidebar query empty.
Hide selectbox when @project is nil.
Merge branch 'bug-root-issues'