Fixed jQuery selection issues with action of checkbox