PriorityQueue: Handle possibility of an empty queue
Sequence: Handle the possibility of out of range indices
IntervalSet: Fix style
FingerTree: Fix style