Cash account filter not considering inactive cash accounts

Purchase To Pay: Outgoing Payment Version 9.49

Previously, filtering documents booked against inactive or incorrectly defined cash accounts was not working.
This has now been fixed.