SlotRanges HasOverlap function has problem. The input parameter slotRange is consistent with the *SlotRanges array member.