Updating multiple records within a transaction doesn't actually update all records