[FIX] Fixed bug with finding pending transactions