Fixed filter bug

Locations are now closed if filtered