Mini-fixes in maxsum