fixed duplicates (same records twice) on ID search #430