In a module, when specifying auto initial bounds, detect when bounding
box generated from database is invalid, due to invalid geometries, and
fall back to initial bounds specified for map.