Drop redundant items before they reach the DB

Signed-off-by: Balthazar Rouberol <balthazar.rouberol@mapado.com>