Fix custom status and add sticky search criteria for agreement search.