Fix logic in careers algorithm to display job categories as rows