JC: fixed bug in project task templat show/edit.