Fixed an issue where the list command wouldn't always apply the name filter correctly