Added fallback function for old compiled models without random seed