Fix custom unique constraint detection
Merge pull request #9 from K-Phoen/fix-unique-constraints-detection

Fix custom unique constraint detection