extra checks to test if range keys or LSI's exist..

Signed-off-by: Stefaan Ponnet <stefaan@ponnet.com>