Dehydrating herbs - leaves vs. stems
Don't dry the stems is the answer, simply discard them. I strip the leaves off the stems either before or after drying for the same reasons you describe - they don't dry well. For many herbs there isn't as much flavor in the stems as the leaves, so less value in drying them anyway.