Fixed issue with date fields and datepicker.
Fixed some issues with separated fields.