Throwing an error if latitude/longitude is not a Number.
Merge branch 'stack_overflow_fix' into develop