Tilovell/1544 server errors when refreshing invalid post request

Fixes #1544 - no view model was being passed to the razor page in this scenario.