Thanks for the report and thanks Mernom.
I thought that the function deadlock.add_stack() automatically creates a stack and an un-stack recipe AND adds a way to unlock them to the deadlock-stacking-1 technology. Seems like I have to specify a target_tech in the function for that.
Looking at other deadlock support mods, it makes a lot of sense to add them in final fixes, sorry about that. I will do that.
The reason why I was adding them in data updates in the first place was that when I create the stacked ores (entity), I checked if stacked versions of the mining results exist and if not, create them, to make sure that the mining results of the stacked ore (entity) exists.
Moving the creation of the stacked ores (items) to the end of data final fixes could (probably?) cause other problems, so I will have to split it into 2 parts.
Is there a smarter way than creating the stacked ores (entity) with normal (unstacked) mining results and then checking at the end of data final fixes (enforce that with optional dependencies) if a stacked ore version (item) of the mining results exist and if not, create them?
EDIT:
I made the changes like I described above but I don't have the time to do some testing so I will wait until tomorrow with uploading the new version.