Fixed issue with action not being triggered due to invalid range being
picked from the command line array.