Merge.hs: fixed bug in irrelevant flag filtering

Instead of removing irrelevant flags I've left them
in previous commit. The patch fixes if.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>