Bug #2249: Fix period and period_number in the service view