Fixed DB error, removed debug code

Error was ResultSet.TYPE_FORWARD_ONLY