cli/diff-state: Handle comparision between float and none.