[PATCH] correct inverted logic from commit f3ba8a