Fixed bug when searching with non-standardized IDs.