Fixed Search by ID Function