Fix right block bug in term pages