Fix clang static analyzer warning

If previousView was nil here, we'd crash attempting to add nil to a mutable array. This is not a functional change. (This code path wasn't actually possible due to the assertions earlier in the method, but it can't hurt.)