Fixed multiple bugs getting parent of permalimked comment