VE-831 Removing unnecessary logic in preview templates