Fixed for slug type permalink.