Fixed issue #7—removing multiple elements from an array was causing the indexes to shift and some shift elements were not deleted because the patch referenced their original location.