Fixed some formatting issues the SMF XML parser doesn't like