Fix duplicate slug key problem highlighted by build test