Fixed 'remove nils from array'