More improvements to deletion of existing pages with REPLACE import option.