Content sort by modification date NPE bugfix