fix single table inheritance support

This is to fix [Issue 209](https://github.com/collectiveidea/awesome_nested_set/issues/209)