fix for when gift cert code is not in db anymore