WP Discourse: custom filters for discourse_replies_html and discourse_no_replies_html

Do you know if this is working correctly with regular post types? The ‘Comments are not currently available’ template that you are seeing is only displayed when the discourse_permalink post_metadata is not set for a post.