Fix rubocop's NumericLiterals warnings.