Avoiding undefined offset = 0

Due to non-valid table iteration on line 193.