Small bugfix for UserCondition

If the current page uses content from another page, then use the ID of
the page, where the content comes from.