Changed selection so it pops nodes off queue that aren't selected