activitypub: fix possible false positives with broken thread filtering
certain threads without replies would match the pattern for a child node when they were a root node, so use a guard condition to ensure a fallthrough is taken.
certain threads without replies would match the pattern for a child node when they were a root node, so use a guard condition to ensure a fallthrough is taken.