Set previousAttributes correctly

When defaults are set. Closes #53