Fixing buglet in updated frontend selection code