Re-reading my initial description of the fix, I see that I've answered the question. I actually like the way @brutuscat described the behaviour, i.e. if the array is empty, no filtering occurs.