Fix rubocop offence by putting argument to scan in parens.