Fixed selection bug

Selection bug fixed for basic linear read