Fix EventException if the TARDIS key preference has never been set