Fix BsonQueryFactory so that it can update polymorphic fields
Merge branch 'swallez-polymorphic-update'