mam.lib: resolve bug when asking the last x number of messages,
when querying for conversations with a specific jid. (Fixes #45)