I've some understanding problem on lcr module.
based on info you gave, i cannot say anything. check how your request
uri looks like when you call load_gws() and after you have called
next_gw() and check how your tables look like. there is no need to
inspect the internal avps unless you suspect a bug somewhere.
-- juha