Fixed range query search fail issue