reports: changed periods are select by their key

Was using string matching, whicj is slower.

Change-Id: Iaa7e797c97f7c75fd79d035717f46ac5c815914f
Signed-off-by: Yaniv Dary <ydary@redhat.com>