Fixed an issue where some entities weren't getting processed due to an incorrect regex.