Fix missing _all when types are specified but no default index is set

Closes #1160