Fixing query. Topics was incorrect due to changes in studies table.