Fix error on Open Date Change for cases
For reference : http://forum.civicrm.org/index.php/topic,34133.0.html