Misplaced [ ] and { } in the Piecewise definition. Try a simpler Piecewise with a simpler Sum and the problem should be clear. Also, check the documentation for Piecewise.
[ ]
{ }
Piecewise
Sum