Finally, I found a temporary solution. Bypassed the Primitive Obsession code-smell and stopped using strong type IDs, and it started working. Now it's OK.