Its missing a where and aovawp.object_view = :object_view
otherwise it pulls every parameter for the same atribute regardless of the object_view.
If I can remember my CVS login I'll commit :)