Fix evaluation of predef option when it's an object. Closes GH-41.