Fixed issue with coordinate check in CF