Fix SQL query for vehicle searching

missing a join