No, there should not be any issues at all when it comes to the magnets that you use in a tank for things such as you mentioned. These will have been made specifically to be safely used within this environment so that they don't rust or cause any issues in the water. I would definitely replace though if they ever get damaged as once they are damaged, you will find they may end up causing issues.