[GEOS-6645] NPE when trying to reload bands with empty range

Please look at the following JIRA: https://jira.codehaus.org/browse/GEOS-6645