Fixed issue with property lookup when looking for the property on a
state without a local context.