minor boolean logic correction...