Restricting aggregate calculations - Ash Framework