core: aggregate correctly multi-value 'after'

Change-Id: I281b22f7cf128cb2dcc2350c725f3d649fa0f7bc
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>