Correctly get 'maxsize' attribute from header.