Fixed issue where a parameter may not be set to 0.