Removed unnecessary loop in module file.

## Ready State: Yes

Small code optimization adjustment on the module.

## Deployment Instructions

* Merge code.
* Clear all caches.