#397: Updated invoice search, and added payments search