refactor(change_detection): remove unnecessary conditional expression

`prev` is guaranteed to not be null here, the method would throw noSuchMethod if it were.

It's not a major performance hit or anything, but removing redundancy/unnecessary code feels good.