BZ-1048248 - Task comments fail to load due to lazy loading exception

(cherry picked from commit 879bb1e79c0afcf1b03a304e8df3a6f2e98af54f)
BZ-1048248 - Task comments fail to load due to lazy loading exception-added to copy of persistence in ht-core