Fixed tables not being able to rolled/looked up on

The table functions were working and callable in the macros, however, the lookup was static (4) to be exact. Fixed the getLookup method and tables can now be rolled on.