Support two or more indexes for a table key

If there are two or more indexes for a table key, loading a new key to
the talbe may crash.