Fixed undefined variable for new nodes without moderation state