r300g: fixup the handle_compare function