Fix issue where interaction type doesn't save properly in database