Fixes an issue with finalizing orders.

Previously would try to update the same record twice.

Change-Id: I8d495899f7fff6e7bd000b0256884ef9c84f2111