Layer auditing fix for indices (accidentally hardcoded 0 and 1) for ordering comparison