Fix module option page detection