DAR-1350 Fixed fatal error caused by date collisions in wall_history.