Better ItemOwner Performance

-Checking for item definition, if it matches with the input
-better autobuy reliability