Reduce messages overload

Show only the last error if there are multiple.

http://manage.dimagi.com/default.asp?109014