Fix for https://github.com/sonata-project/SonataBlockBundle/issues/53