fixing a ts error in ModelStore where the check for isClientSideOnly was the wrong way around.