Fix WP refresh
Merge pull request #2307 from opf/fix/17635_relations_not_updated_after_adding_relation

17635 Relations not updated after a relation is added