Fix issue with Match Error due to partial function chaining

It was producing 500 errors randomly when using the Session extractor.