Fix bug for mask comparison function.
Convert tabs to 4 spaces.