TracQuery: fix some validation issues in the template and comment the change done in r5429
Authored by: cboos 2007-05-18
Parent: [r5429]
Child: [r5431]