Fix bug where postgres wasn't handling unique_together because cookie was null.
Merge branch 'vote-constraint' into dev