Fixed some bugs created by going from pk -> slug