Added safer side effect prediction for windows state change
transactions.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>