Bugfixed Post interface

There were two bugs, leading to setting "to" to
some invalid value.