Fix for custom nodes with no content tag