Fix embeds_one handling and updated spec

A small fix that handles mongoid embeds_one relation. Without it we get 
```Ruby
NoMethodError: undefined method `each_with_index' for nil:NilClass
```
error on save or update, when using embeds_one