rejiggered find_maximum_integer_argument as 0 is a valid index to delete