Added parameter name to block definition to fix autocomplete
Fixed crash: find queries were crashing if element along query path had zero children