Fix adding of wrong history data on door switching