Added before date and after date validations.