'reply to post' doesn't always link posts

Yeah, this is intended behaviour.

yep, that’s why.

The logic here is a little quirky. If there’s no reply-to-indicator, then it’s either a reply to the post immediately above it, or it’s a reply to the OP.