NODE-297 Aggregate Broken for case of pipeline with no options
Fix to pass tests