Replaced hardcoded boolean value with correct parameter.