Fixed error causing tenders not to be saved.