Searches for some invalid conditions and fixes them.
event to repair (including its exceptions) – may be modified!