Fixed a bug that caused the code to not search by name and version