Fix for shallow discovery of modules with rlist_classes

Fixes #5
Merge pull request #6 from jmvrbanac/fixing_shallow_discovery

Fix for shallow discovery of modules with rlist_classes