fixes missing search on spatial and text search