fix 'explain' bug

When category list is empty, the -x option no longer blows up.