the input array is a situation that can not occur, as the jackalope library would realize you try to delete something that is already deleted. so L525 should go after L531