Fixed a case where alternate symbols were not taken into consideration