Fixed entity metadata mapping error