Fixed parsing of select #x<num> operator