Fixed symbols incorrectly checked in entities module, causing exception when generating the module.