Repaired task parser to pass all test cases for it.