fix find_entity not working when models has more than one primary key