fix collection POST in other cases

Signed-off-by: Ondrej Koch <o.koch@zerusnet.com>