- fix missing "else" condition in EntityHelper. It wasn't affecting anything, but it's more readable with it