Moved the functionality of finding a default value to a function inside
the workout dao.