Fixing if-is typos

I found two typos in 3-2 branch.