Found the problem, fucking nullable dates