fixed bug trying to access value in empty list
Merge branch 'master' of github.com:bjk17/Vefforritun