Bug fix: skip empty ranking removal if key not presents