Modified check to check for ebooks as well. REOL-58