BUG-FIX: to_spectrum and to_image were not working as expected after AxesManager was instructed to respect index_in_array if defined for all the axes on creation