change lat/lng test condition from AND to OR

Hi Kelly

Please review the minor fix I just made.

Cheers
Jerry