whereClause fails, where works