Property lookup fails in blocks. Fixes #1271