[GEOS-5992] Searching for an unqualified layer should always give precedence to layers in the default workspace