Fixed SimpleDB.select.