Coord: test if null before comparing