Fix one incomplete pattern match and replace it with an error