Changed method of who sig_reference is queries to avoid "duplicate key"
issues.