Pavel fixes after-select condition for win32