Fix undefined index "comment_parent", prepare statement and unquoted array key.