Change an "if" to more appropriate "elif"

I overlooked an "if" that should have been an "elif". Oops.