Fix a bug in the statement that assigns the statement parameters and fix a bug in the arguments passes to the function that checks whether a comment already existis in the DB