Modified check for location seraching