Invoice Form 8.03.403

We have modified our Invoice form by deleting the Invoice Detail
Lines Grouping and added a grouping under the Invoice Number group for
Calc_JobNumber. It works fine when individually printing, but when we
print a group it shows all jobs for all Invoices in the details for
each Invoice. Why would it do that if I am grouping jobs under the
grouping of Invoice number?