Fix bug #1450 - Topics setAttribute Bug

https://github.com/concrete5/concrete5-5.7.0/issues/1450