Fixed multiple thumbnails issue on image attachment page.
Version 5.1.54 (2-5-14)