Fixes empty "properties" collection.

When using an event-context variable, the properties collection was
empty, even when property items where explicitly given. This function
fixes this.
Merge pull request #334 from erwinwolff/master

Fixes empty "properties" collection.