Add tests for $member + normal bind.
Fix bug in the optimiser and improve it.
Bump version.