Fixed an error in random_string_from_module that was introduced last update.