Replaced an additional bit of existing code with check_for_negative_index, which is doing the same thing, essentially.