Downgrade mongoose version to avoid issue with aggregate functionality