Fixed circular cascaded edition check and changed block parameter type "Document" to "DocumentId".