Fix aggregate() to convert data types by default. Fixes #208