Add contract number to ad list report

Added contract number to ad list report and also fixed a contract search
bug introduced with the sold by addition.