After a quick look at the code, something like this patch works for me, but I haven't tested it much yet.
After a quick look at the code, something like this patch works for me, but I haven't tested it much yet.