Fixed bug where if there was no images posted at all index would fail to load.