Fixing issue #2 by placing a colon before all the names of query
parameters.
Replacing for loop into Database::setQueryParameters by a foreach loop.