Fix get_fullvariable AGI method

Closes #7