Clean up double-negative if statement