fixing filtered query syntax es verion difference strictness