Fixed parsing bug with <option> tags