Replaced all the instances where bookmark.learned was used. Now, we check for the datetime in learned_time, if it exists, then the bookmark has been learned.
Tested the different endpoints (execises, history, updating the bookmark learned status) and it results in expected behaviour.