Select rows fix