fix for unique nested set indexes

Signed-off-by: Sean Wesenberg <wookets@gmail.com>