Fixed logic for using items on other items in controller class