modification in admin which correct get_max_sort_value 's argu