Fix class BlackBeanQueryWriter