DATAES-56 - while specifying index and type at runtime indexing is failing

(this bug was introduced with DATAES-42)