why did you test for explictiNum above and then not use it here?

What happens if uniqueNum is 0?  Do you mean info.uniqueNum !== undefined?