Cleaning input tables for Pairs (except for similarsequences)