Added module activity check.