Fix module selection check (#2095)

1 file changed