bugfix on QueryEventForm validation [fixes #76730148]