Fix for setting task due dates via the controller