Check for composite keys