Get rid of some unused update queries in update_positions
Merge pull request #2747 from vladimir-tikhonov/master

Speed up page reordering