Check start date and due date validity.