Finally got sort_then_align macro deselecting at the end