I use generator comprehension now to compare each individual item to check it's the correct mod/type and that seem to work fine.