Don't clean removed notices from notices_data if history is enabled