Added >= and <= to check for exact matches on the x and y coordinates.