Fixed an MSM issue with the get_field_by_name method