Added group by substance id to remove duplicate search entries