Fix bug in make_Bson2Structure function