Fix bug, when summarize() function returned empty series and get_max() did not check that the serie is not empty.