DB: fix regression bug on getAllReactions