Fix check for google maps.