Fixes internal error in economy