Fix single extension method on Oracle

This fix isn't foolproof but it is way better behavior than before.
Merge pull request #409 from BruceCowan-AI/FixSingleOnOracleTableWithCompositeKey

Fix single extension method on Oracle