Fix documentation. Add explicite 'true' in if statement