Fixing date based range key issues.