[FIX] Return ids from search