Fixed: Getting primary key value from entity in Manager class.