Fixed a bug where database request in store-loadout was made before it is ready.