Moved `parent_select` build validation to appropriate function

Was in `ModuleBase`, should be in `Module`. See #4337.