Cleanup of managed_resources fact