To be very attentive during an exercise in Lagrangian-formulated quantum mechanics you had better make sure to dot your qs and cross your hs.