Remove null elements.