Set correct property priorities after an edit