Fixing a bug noted by silverwoof.