Replaced hardcoded boolean value with correct parameter. Closes #3898.