Try to fix null pointer exceptions on some platforms in trigger/job views.