Fixed some errors with Weapon::isAutomatic().