Bug fix for Composite_Primary_keys gem.