Fixed module stage loading

Fixed modules failing to load in stages other than :FIRST. Failure was
due to case sensitivity in string comparison.