Fix bad reference (line numbers in reverse order)