Fixed incorrect date matching in the payment warning check