SSP-1245 Fix CurrentTerm DB query to always select one term