Fixed persistence for tasks