Revert "Added guard around adding a NULL object to an array"

This reverts commit c8e420990efc80a1eba059f9c34fab0023efdcfc.