If you're using a newer version of Calibre, I believe 5.8.x or better, it supports hierarchical searches. Older versions... kinda support it, but the behavior was a little strange/glitchy and chaley put in some changes to make it work better.
Use Preferences > Look & Feel > Tag Browser and add "search" to "Categories with hierarchical items." Then name your search Search.Subsearch.