Fixed campaign problem

This time I uploaded a ticket into the trac. However, as no one responded to this, I fixed it myself, and pushed it into my own repository. Please consider merging this.