only push if there are objects to push.