Can you please add a comment with the bug number here. I don't really like the idea of adding a broken compare function, but it's OK as a temporary fix until the default does something sensible.