fixes #3876 - API find_resource by name even if name starts with integer