Using IsSet() in InfoTip

I want to display a description for images if either imagedesc or userdesc is available. However, when I use IsSet() like this ( in FileTypes > Images > InfoTip dialog):
<b>Desc. :</b> {=IsSet("imagedesc") ? imagedesc : ( IsSet("userdesc ") ? userdesc : "" )=}
If the image does not have an imagedesc I get:
Desc: false

Any help?

I know of two ways to hide sections in the InfoTip:

Use eg. {!imagedesc} ... {!} and the section will only be shown if imagedesc is available.

Or, using evaluators, try something like {!=Val("picwidth")<1000=} ... {!} to hide the section for smaller images. In this case, the result from the evaluator has to be true or false.

hth...

I tried:

{=
return (IsSet("imagedesc")  ? ("<b>Desc. :</b> " + imagedesc)
: (IsSet("userdesc") ? ("<b>Desc. :</b> " + userdesc)
: ""));
=}

and if the image does not have an imagedesc value, it shows Desc: false

Also I tried:
{!=Not IsSet("imagedesc") && IsSet("userdesc")=}<b>Desc. :</b> {userdesc}{!}

This one does not display anything.

Thanks, fixed in the next update.