bug fix selected tags

selected function was echoing into the HTML when it wasn't desired,
fixed.  Light testing performed on multisite.