Fix bug where user plugin order is reset each time user gets updated.

#2173