Fixed datepicker error after object is rented.
Merge branch 'minor_fixes' into develop