Fixed bugs in Vulnerability class.