Fixed TypeAgent for Contao 3.2