Bugfix for setting default date to today's date in web controllers.