Select returns an array so use first to get first object.
Use search as var name.