Thank you ctbram for taking time and helping me out. Reversing the direction of one of the curves fixed this for me. I use 2012 version of Maya.