removed sort on _id.seq for refs collection, switched to nextSafe() #782