Issue 46

Fixes issue #46 by removing empty selectors.