Added check for stonewalling condition and fixed yyyymmdd bug.
Fixed bug with date field