Fixed returned value when string.find() don't find anything
Fixed a wrong indentation