Check for processed flag only when subscribed.

Otherwise flag is missing when it is not really missing, but
publication was partially loaded before (for example, from search
results).