Fixed a bug in handler - when extended result is returned, original result structure is fully replaced