support negative indices when slicing Database objects