Got the freaking fallback route handling working again. The reason for the deadlock was a stupid error in the StripTrailingUrlDirectorySeperator function of the path package.