Fix worksheets when preview mode is active
Merge pull request #417 from javierluraschi/FixWorksheetsPreview

Fix worksheets when preview mode is active