I assume you've tested that this complicated key actually works? Everything involved has a sensible hash code?