parser: fixed reading returned non-table values

We were checking the second value at the index instead of what we should have. Fixed and fixed.