Fixing nodes insertion count on select