Fixed a bug with the details buttons.