fix(common): fixed the _.filter clone to not create sparse arrays

Closes #1563