Fix attachment size field type