Fix #2582 - Initializing filtredCurrentCheckout to empty string when it's null to pr...

This fixes the crash caused by filtredCurrentCheckout being null. See #2582 for full details.