Fix Class assertion inverted values