Commit 29/10/2014

Corrected problems in the statement database