prevent ArrayIndexOutOfBoundsException in #findInsertionBoundary() (issue #52)