Bug fix: Exception when no index specified for delete