Removing unused check against arrays