Removing erroneous commas in jndi attribute list