Removed unneeded test

undefined in an array still has positional meaning so no need to check
before assigning it.