Signed-off-by: Lee Smet <lee.smet@hotmail.com>
- Also use proper types for index. - Update DB interface to be more flexible for index params Signed-off-by: Lee Smet <lee.smet@hotmail.com>