Fixed row-choosing bug