Bug fix: comparison direction is opposite --kazu