correct behaviour for 'removeNulls'