Fix profile achievements table not resetting