Fix bug where assignee types were not correctly added to the database