Qhul fixed for pathological cases.. hopefully