Possibly fix a crash by updating a row before moving it
This optimizes row updates and will update a row before putting it in another position in order to try to avoid a crash. BUG:326289