Changes join to reference CPK ID_SEP to prevent future bugs.