Fix runtime error with "." being a valid expression.