Remove filter from catalog query when not needed. Fixes GEOS-6398

Removes AdvertisedCatalog's filter from requests on which it is not needed.  This speeds up certain requests (the "Layers" page in particular) against large JDBCConfig catalogs.