fix D/E detection for prev/next controls