Add a conditional to check whether the number of ideas in tab is empty