Fixed Index handling, added ConfigSpec check for anorm config