Fix crashes in rails admin.