Why do I get 'processed' transfers when I query 'pending' ones?

There is a point in the application when I have to check whether the user has incoming/outgoing pending transfers or not. I have created a test Wallet->Bank transfer and processed it completely. But, when I query pending transfers for the receiver, I get the “receiver’s bank to balance” one in return. What is more confusing - the model itself shows ‘processed’ status. How can this be?