An error would occur when checking content_range[1] ...
An error would occur when checking content_range[1] ...

The problem is that the default condition is null. Function assumed it
would get an array out of it. Added checking condition for it.

AppStateESS/stories,AppStateESS/stories,AppStateESS/stories,AppStateESS/stories