Added some logging to try to debug #19751