Mongo suspects that the adaptor is probably quite correctly made. Mongo uses an after market adaptor to use his Pentax 645 lenses on his Nikon bodies and all work perfectly. It is reasonable to think all adaptors when designed are tested and should work correctly. Also, in your case, it has proved it works correctly on your 45mm lens.
The problem is in the 500mm. If you do not have any images with this lens in focus at infinity, then, it could be the lens was faulty when you got it . Someone could have tried to dismantle and fix things in it and not reassembled it correctly. If this is the case, it could be anywhere in the lens.This is highly unlikely as the lens gives good images with your 45mm
Probability would support the theory that the problem is likely in the front of the lens as a result of the work you did on it to correct the dent. If this is the case, it should be able to be reversed. The amount of error is probably very tiny and you may not readily see it. There is probably now no harm in disassembling the front again and reassembling it - keeping an eye out to see that all surfaces that are screwed together close fully and evenly. This may actually correct the problem if you are lucky. It can probably do no more harm. Best case, it fixes it - worst case, you should be no better off.