Fix bug where applying operand 'in' on some things throws an uncatchable error
Make backward compat function actually be backward compatible by returning the result