I came across the following issue with my trigger:
A binary operator with incompatible types was detected. Found operand types 'Edm.Boolean' and 'Edm.Int32' for operator kind 'Equal'.
I was trying to do the following for the filter expression:
new_booleanfield eq 1