Steven Gerrard has admitted Rangers are working their discipline after receiving a seventh red card of the season during Sunday's victory over Hearts.