Fix task list bug

Obviously wasn't paying attention here.