update isClash function

handles the case where this object -> startdate 11/10/2014 enddate
13/10/2014 and arg0 object ->startdate 10/10/2014 enddate 14/10/2014