Handle missing when and offset parameters