Changed DM to look for key on models instead of serial field