This is some MySQL bullshit. Using `BINARY` type would work here, but I've already spent too much time on this. Might fix it when bored.