Primary key value 0
I decided to fix this everywhere that a "false-y" value was used: 51328066c4c7b1d7c043c5e37fc06c519e9f168a
 Great! thanks

In an escenario where two tables are related and the value of the foreign key is 0, it raises an DoesNotExist exception. That's because 0  evaluates to False even when it's a real value.
