Minor changes
Re-organized code related to findRegions()
Fixed issue identified in https://travis-ci.org/lcolladotor/derfinder/builds/35498697