fixed bug showing edit buttons for pins uploaded by deleted users