Make sure badge impact is commited before proposal update

On badge impact update, all badged entities need to be reindexed. This
makes sure the reindexing takes place after setting the impact.