I adjusted it from looking for just a object to verifying a date object in particular when setting Objectives.  Previously, though rare it may of tried to call .getTime() on something that wasn't an actual date object.