Fix a bug where a user couldn't add a commission date (primary key error)