Fixed NPE in TopLibraryCardTypeCondition (fixes #300).