Cannot access fields to create conditions