[Issue #57] Removing invalid profiles in profiles:manage:devices to prevent 404