Fixed db error when no supplier selected in get_allocatable_to_supp_transactions