Fixed broken patching for logged in users(?)
Seemingly fixed broken patching for logged in users, thanks to @sharkx11 for figuring this out.
Still broken for logged out users and potentially problematic even for some logged in users due to unknown circumstances. Investigating fixes.