Fix for hiding last grid entry