fix for comparison between signed and unsigned
Merge galera-3.x upto 3a949e6edec46862b8cd91b2a0ad7536ee5d0438 - fixed