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