fix 2 enum conversion bugs found by the closure compiler
fix 2 enum conversion bugs found by the closure compiler

stardazed/stardazed,zenmumbler/stardazed-tx,stardazed/stardazed,zenmumbler/libzm,stardazed/stardazed-tx,zenmumbler/libzm,stardazed/stardazed-tx,zenmumbler/libzm,stardazed/stardazed-tx,zenmumbler/libzm,zenmumbler/stardazed-tx,zenmumbler/stardazed-tx,zenmumbler/stardazed-tx