Fixes for item association page

Items weren’t displaying properly on the association page. Minor fixes
to make sure that only valid items are returned and to render to the
right divs.