Incorrect SQL generated when a CompositeKey with Option was None

When a Composite Key contained an `Option[_]` set to `None`, the SQL in the WHERE clause would be output as `= NULL` instead of `IS NULL`

Also contains a test case `nullCompoundKey` to demonstrate the behavior.