When input_filter is empty, should be initialized with Array, not object

When input_filter is empty, the initialized value should be an Array, not an object, to ensure the method .every() is available inside the api-service-input controller when called.