Ok, I've tried everything, and the planner keeps choosing index scans when it shouldnt.
Is there a way to disable index scans?
Antoine