Fix for empty dates. Added string length validation to forms to prevent broken HTML tags.