libgpaste-core: history: silence assert

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>