inventory : Fix slow software display query