Fix repeat of ]p and [p

Closes #71.