Fix READVAR false/true index

Signed-off-by: Kiril Petrov <vscp@geomi.org>