Extra <tr> removed from and ids added to slim template