Add bacwards compatibility for older term boxes
Merge pull request #6459 from openscholar/6419

Add bacwards compatibility for older term boxes