Fix a bug preventing previews to be updated