Beck, McCart survive primary election challenge