Fixed bug issue with refreshing page with no magnets