The following query:
collection.AsQueryable().Where(x => x.BooleanPropertyRepresentedAsInt32)
should be translated as:
{ $match : { BooleanPropertyRepresentedAsInt32 : 1 } }
not as:
{ $match : { BooleanPropertyRepresentedAsInt32 : true } }
The `true` constant must be serialized with the serializer configured for the property.