Fix distinct method for nested field (#58).
Add distinct method to collection.