added validation to comment and redditpost for non-nil score