Prevent invalid transaction to break the view.