Fix the existence check in Entity.createModule to be order independent.
Fix the existence check in Entity.createModule to be order independent.

rejectedsoftware/ddox,rejectedsoftware/ddox,rejectedsoftware/ddox