Properly handle projections where '_id' is the only rule.

+ Tests. Fixes #1651