Can cast Bson to long if type is Type.Int.