Entry limits for check box not working properly