fix for StateDStream so that updateStateByKey has consistent behavior