[BUGFIX] Fix condition for USERDEF2 in procesItemState