Fix clearing of firstAvailable*ID counters.

These are cleared (reset to null) whenever we load new nexson into the
curation UI, since we need to scan the new elements.