Check this. I have attached the file also.
Under Advanced mate select limit angle.
Select the two face along the face angle and enter the minimum and maximum angle limit.
Same for the other side.
And you are most probably done.