[DDMD] Fix implicit conversion to bool