Add pointer query for whereEqualTo & whereNotEqualTo