Fixes for problem of duplicate primary index keys being generated for
WKX_resource_creator