HasWorkItems crash fixed