Fix url parsing

The equality operators were messed up.