Fixed issue with wrong caretask being updated