Wrong ID field populating 3 hour query