[BUGFIX] selecting the correct inventory pool editing a contract line in the borrow section