Removed unused code for location filters