Fix #197: box.space.space0:len() returns an error if there is no index