Implemented delete-and-retry for masterlist update.

Closes #176.