Merge "Avoid division by zero error when AppOps history is empty." into rvc-dev