[ticket/617]Fix other "Can't use method return value in write context" error.

CUSTDB-617