Fix issue marking tasks as complete.