fix: use clauses and access to model's DateTime attributes