resolving #9969

Resolving https://github.com/owncloud/core/issues/9969
this is changing the behaviour, but I guess it's what should be done.