add further invalid IMC checks and logging for #2071