Separated selected datum from view value.

Fixed issue #33 for me.