Author link edit fix

fixed author link edit using a local db id in some cases