Minor cleanup in prepare_view.cc