fixed issue with maniphest where having no tasks would break maniphest with an exception