Fix: pending assignments undefined for iterations

The iterations tooltip for the users pending assignments was showing
undefined instead of the actual count. This PR fixes that.