Fixed distinct casting issue with ListField of EmbeddedDocuments (#470)