Fixed some bugs in the recurring transaction match.