Better error message when block option when a variable does not appear at current period.