Fixed a bug where Select behaves wrong when multiple data item has the same value