I don't know why this stopped working. It was broken before my previous commit, but I went through the cvs history and didn't find any changes that would have broken this if statement.