Page delete updated to clear master pages records.