[minor] Don't crash the 500 page when there are undef references