In data updates, there seems to be some legacy code from when vanilla assemblers had an ingredient limit - it was set to 8 so that they could craft the more advanced recipes from this mod (presumably).
That is no longer required, since all vanilla assemblers are uncapped now.
If you want to keep it, add a check to make sure that a limit even exists for the entity in question, as well as a check to make sure if it's not already above 8.