NYCCHKBK-4692 - Advanced Search for contracts - fixed spent to date link to consider correct agreement id for prime or sub vendor explicitly.