Error Message on Ifelse statement on exercise 8 (Working with data sets).