Replace an old key_exists call.
Add bugfix for the hotfix from contao.
Remove blanks.