Use union for block with if/unless_match