The monkey patch was broken again in the latest beta version of Anki (issue #39), so it had to be fixed again. A better solution would be to use a hook instead of monkey patching, but there is currently no hook available for changing the behavior of Collection.compare_answer. I made a forum post to request this feature.