Fix for DAOController edit mode.