Skip nil record at input and engine. fixes #176