Fixed issue with date comparison where parent date was overwritten due to PHP object assign by reference.  Also updated debug statements to use var_object rather than print_r for debug purposes to get booleans .
Fixed issue with date comparison where parent date was overwritten due to PHP object assign by reference.  Also updated debug statements to use var_object rather than print_r for debug purposes to get booleans .

rcdelfin/mautic,rcdelfin/mautic,rcdelfin/mautic