Catch invalid Smolyak levels