avoid freemarker error in strange situation where user was not defined
for the edit query after switching to the modify object template