fix get_cheapest_agreement_for_qty sorting

fixes #52 
it will be an empty record set instead of None

I didn't wanted to change the output but it might be better to work with record set