fix logic around ending bid date.