Only use the section parameter if it's non-blank

This fixes a bug with filtering when you haven't selected a section, but
because it tries to preserve a section choice, it sets a blank section.