Fixed typos in the code that I missed the first time.