Renamed removeConditionOfClass to removeConditionsOfClass because it removed all conditions of a certain type
Updated password validator and condition