fix(utils): fix utils.date() check on missing value
feat(Query/intervals): add validations
test(Query/intervals): add test suite