Fixing bug in lessthan/greaterthan builtins, prettifying stack trace output