SELECT stmt in article_comments had $id instead of article_comments_article_id.