Fixes for special periods handling.