Only test last part of keypath for binding expressions. Fixes #1421