Simplify modulo test; clarify usage comment