small fix to make test_attachment_link_should_link_to_latest_attachment pass