replace "SELECT *" with explicit list of fields to avoid problems when columns are ordered differently in the database. fixes bug #1033.
Changed paths: