fix destroy when nothing is matched. Fixes #12