Store flag on _parentWays itself, fixes #392

Relying here on the fact that `calculated` will never
collide with an actual entity ID.