Implemented earthdistance filter

Now searches work based on distance.