Melodyne is pretty accurate in most situations. If you find that some parts are not appropriately synced to the click, you can try using a different detection method or, as a last resort, manually edit the parts that were falsely detected.