Remove useless tuples which have only null as attributes