Bugfix for incompatibility with Avisota. Thanks to Stefan Lindecke for pointing it out.
Merge branch 'dev' into contao3