Fixed bug in UISClient returning CloudId insted of LocalId causing a
ClassCastException