sheet_get_conventions: code cleanup.