[BUGFIX] Remove unused variables from LiveSearch getRecordArray