WET theme: Fixed validation error with date modified (fixes #4698)