Clean up service pointer if it went away.
Repair lost publish_wqs.
HAS_DELETED_FN macro has been killed long ago.