Fix stat commands for exact match