BUG Fix publishing of blog posts

This should provide a 3.1/3.2 compatible solution to https://github.com/silverstripe/silverstripe-blog/pull/128