Temporary workaround for https://github.com/Atlantic18/DoctrineExtensions/issues/1026