Fix numeric comparison