Bug fix for ModuleUser

index error occurring if no modules found when calling getNextPosition