Fix swapped digits in 7-bit mask