Fixes https://github.com/Sylius/Sylius/issues/840