Fix bracket placement in error message.