Add support for composite indexes.

Signed-off-by: Krum Bakalsky <krum.bakalsky@sap.com>