fixes #6896 mark job complete if no records to send to