Fixed ActionBars range function.