Fixed latch migration test timing issue.