BLD/TST: fix bool block failures when strings are passed to replace list

closes #6353