Shouldn't -1 be axes_manager[-1].index_in_array?