Fix the way module candidate types are checked
Created by: feelingnothing
Summary
Fixes the way module candidate types are checked in CommandsNext
extension
Details
Changes the function Type#IsAssignableFrom to a proper one Type#IsSubclassOf Current solution behaviour means that a class "could be a module" and this PR fixes this