Correct index for emailaddress ignoring null values
Fallback for duplicate sessionhashes