fix: allow calling Model.aggregate()
with options
#10604
Merged
Model.aggregate()
with options
#10604