Fixed bug in Database.java involving clientTypeID & countryID.

This bug was present for both the Tomcat and GlassFish versions