This should give an error if entities aren't distinct.
Fixed observable assignment error.
From bitmap - fixes change direction issues.
Revert "Merge remote-tracking branch 'lordsputnik/mbs-5388' into beta"

This reverts commit 49b7a5032ec8c4608fb14ab12ba8d09ff6281520, reversing
changes made to 75b06edf664cbd4071057625963f58ef3cb4b7bd.
Merge remote-tracking branch 'sputnik/mbs-5388-new' into beta

* sputnik/mbs-5388-new:
  From bitmap - fixes change direction issues.
  Fixed observable assignment error.
  This should give an error if entities aren't distinct.