Fixed an NPE that made it impossible to create new content specs.