minor change

due to pointless boolean value check