These are all the variants that lead to SqlExceptions:
where e.BooleanProperty == true
where !e.BooleanProperty
where e.Int32Property == 2147483647 && !e.BooleanProperty
where e.Int32Property == -2147483647 && e.BooleanProperty
where e.Int32Property == -2147483647 && e.BooleanProperty == true
where e.Int32Property == 2147483647 && e.BooleanProperty == false
=> fixed in Acta Nova branch