If action is brought in the wrong county, it may be prosecuted to a termination, unless abated by plea of the defendant.