Simplified reverse switch lookup