Issue #3505838: Clear Ajax commands if view results are empty
Clear ajax commands if view results are empty to prevent replacing the existing view with an empty one upon triggering infinite scroll.
Clear ajax commands if view results are empty to prevent replacing the existing view with an empty one upon triggering infinite scroll.