Make ignoring substitute unpublishings easier to understand
Make ignoring substitute unpublishings easier to understand

A small refactoring to try make a particularly difficult line of code to
follow easier to understand.

alphagov/publishing-api,alphagov/publishing-api