Gets rid of unperformant WMS layer matching in _filterByExtent.