Fix NAMES command.