Gracefully handle null models passed to the view