MDL-28655 qtype_calculated question engine upgrade: fix return value