Adding missing database indecies.

fixes #55