fixes #7470 alter condition for creating parent mailing job