Small fix, put the tal:replace in <ul> instead of <li> it seems.