Filter details and comments for null and undefined values