Fixed an error message on the terms filter