Fix bug in PostgreSQL cluster management commands