Made suggested corrections in previous commit
Merge pull request #747 from coder006/master

Fixed the ticket http://eden.sahanafoundation.org/ticket/1524