Fixes pr view when all task is deleted