PHOENIX-1346 the choice of index by phoneix is not correct where do querying

Conflicts:
	phoenix-core/src/main/java/org/apache/phoenix/optimize/QueryOptimizer.java