Fix __contains__ implementation in userdicts