Fixed the all_versions() method when a name argument is present.