[IMP] fields2: avoid potential null ids in search