JAL-845 avoid OOBException when method is called with only one view