Issue #1404.  Fix of master records after WAL segment removal was added.