Fixed bug with entity mapping and ProfileDto