Revert "DAR-2508 shifting dates to max or min level if it exceeds range"

This reverts commit b27870d2708972c26b7af6ad45b85fed89cc2139.
DAR-2508 Changing deprecated martstatsdb to statsdb due to tables move