Bug Fix: Favorites get functions to avoid apostrophe issues in db queries