Fixing a bug with exporting functions with OnlineData inputs