fix non-array :with and params_protection, fixes #1798