Fix a silly bug in socket-{merge,purge}-flags.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>