Fix CIF validation

CIF Validation failed with cifs ending in 0 and some other.
Merge pull request #1 from XurdeFdez/patch-1

Fix CIF validation