src/commands.c: Fix comment typo.
src/commands.c: Check !p->next before comparing with p->next->meta.