Fixed an issue with length checking
Merge pull request #2 from Consulta/Version-1.1.0

Fixed an issue with length checking