Fixes problem with tasks status