Fix filterStringToWhere tests