Fix bug with 'all' argument