Fix: Corrected query to pull result from the right table.