Fix for VS2013 compiler warning C4800 (forcing value to bool)