Bug fix: reset details when purging data