Fixed upgrading queue stuff.