Fixing bug with loading completed tasks