apache-frontend: fix double publication bug