Add check for nullptr in _push pointer functions. 

Pushes nil in that case.