#18. Added warning when event is used in precondition.