Bugfix defaults inheritance

Found a bug in my last pull-request, sorry :(