Fix EZP-21509: error in clear view cache for subtree.