Thanks Kaushal, I tried recreating it again and its working now.