Fix some minor unintentional changes in the view.py