metadata: Fix prepared statements joining on XEP status default tip

(0) -1 tip

mercurial