Fixed #6061 size parsing consistent for strings