Fix incorrect integer concatenation in error messages