fix for relationship error with deleted entities

Hello,

fix the error mentioned in this [SO post](http://stackoverflow.com/questions/21287467/breeze-null-or-transient-value-when-deleting-entity-with-nhibernate)