Added date to db check.