! that array is an index array not a key array
! need to check for empty not only int 0

Signed-off-by: Spuds <spuds@spudsdesign.com>