fixed row selection for valid rows only