4.7.1 compatibility fix

Works with Enonic CMS 4.7.1!