A night qualification does not meet the hours requirements for a full course of study as defined above. Your options are a J visa, or a B visa (but only if the night qualification is incidental to a trip for the purpose of pleasure or business).
Many here appear to adopt the attitude that since the schools have been pushing M visas for so long, unchallenged, the practice equates with legal compliance. The PPL and IR can be justified under the M visa rules as training very often meets the hours requirement. A NQ doesn't.
Pedantic view, but those are the rules.