Realm Quest bug

I got two different quests with the same objective, but when I finished them only one completed.