Add trap on case conditional being non-Boolean