Fixed wrong order of net message check and lag disabling