Repaired issue of catalog page auto deleting after first build. Fixes #2065