fixing back the logic behind checking of MERGEABLE flags on a bug
Merge pull request #6 from istudens/master

fixing back the logic behind checking of MERGEABLE flags on a bug