How is the "in list" created in the code? It may be possible to move the code/query that does this into the respective portlet query.