Preventing ViewModel replacement for application errors without response in MVC events

The problem here is basically that any application error (even 404s) were producing `[]` as output because the view model was being set even in such a faulty case