Looks like you are using the filter array action to check the length. You might want to replace it with a condition action and use the same expression. In the yes branch place the append to array variable action.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!