bug fix for isLoop

isLoop was struggling to monitor all parent child relationships as all
parents rely on their children for their end date, but all child rely on
their parent for their start date.  The current routine is only handling
one side of this well.