When removing one MergedRegion, the record was removed before it was ready, causing a IndexOutOfBoundsException. Shifted the remove after the get to fix this. TestCase should verify old functionality hasn't been broken.