Fixed issue with invalid bool