Fixed bug in button display code on version page
Another bug