Fixed incorrect comparison.