This does probably paper over some underlying issue, but I don't have the time right now to investigate the problem further.