Worked on fixing Task Comparing commands.

Nathan made improvements to the code that pointed out existing bugs we have. I fixed those bugs.