Fixed bug where if no photos were found in an album an exception was thrown