If the pg number is larger than 9, this won't match the array index, which was in dec just before this. Fixes: https://tracker.ceph.com/issues/50808 Signed-off-by: Xiubo Li <xiubli@redhat.com>