should unique be downcased since you pass it downcased? not sure what the standard is for that.