Bug fix to the dependency handling and addition of a missing foreign key relationship from users.user_id to person_name.changed_by