Bug in context handling.

In short, virtual items had wrong context.
NEXUS-5790: Fixes