Fix a bug in Sahana-Eden

completed by: Daniel Klischies

mentors: Tony Young, Dominic König

http://eden.sahanafoundation.org/wiki/Projects/GCI#Hard