added condition forbidding events-in-the-past planning