Fixed isPreview naming.