Correction of issue 252

I made a minor change to the logic of the select() method that seems to correct the problem loading a value.  It seems that it was exiting the for loop prematurely.