Fixes incorrectly private clear_activity_meta function