Allow spaces in node category names
Fixes #361