Conditions: Not able to redirect to a specific URL based on conditions