Fixed issue with less inheritance

Fixes #32