Fixed auto-updating dropdown bug