Adds a workaround for event scheduler issues.