[[ Bug 13879 ]] Ensure the length of block/paragraph attributes is correct