Fixed bug if no exercises existed in db