Fixed a small problem with the list adapter