Fix search layer by name without namespace

When a layer is searched by name without namespace prefix, the search will begin in the default namespace