Fix for a crash found by Jason. The lastview needs to be nil'd out