Remove repeated test

I was reading the code and found this repeated test. Double checking stuff is good, but I think this is not what it means! :P