Something that I spotted is that the virtual guids used for Other/Mobile virtual queries are invalid - I filed bug 1534322 for that. It does aid to breaking this, but not completely. For example, selecting either one of Other or Mobile those throws an error at the moment, but the toolbar & menu ones don't.
The actual issue here is that we're not getting the concrete Guid for the node, so we're using the virtual query guid to try and build what's in the folder. That's simple to fix.
I'm not quite sure why people would want to select a whole folder, but stopping that would probably currently be more complicated than fixing this.