Fix preview ensure check.