Fixed UIs of SimAmpl and SubRefDem Ops for wrong value casting.

Closes issue #24.