Fixed Bug #1440

http://eden.sahanafoundation.org/ticket/1440