the modex component compare code (thanks to Tim P. for finding the problem) This commit was SVN r15885.