Refactored the bag status queries, and added a general method.
Don't upgrade if already upgrading