Following is the identification of the "PM" AMPM entity; however, if this module finds an AMPM entity it then proceeds to look for an HourOfDay entity preceeding the AMPM substring.
an HourOfDay had already been identified, and the AMPM module neglected checking this.