Issue #2391975 by Spleshka: Support scenarios where the entity is possibly blank or has no entity_id assigned yet, e.g. Profile2 pages.