Hiding top_term dropdown if no terms exist, fixing template call