Bug 1019675 - use term query for id search